// 存放所有首页轮播商品的接口
import request from "@/utils/request"


export default {

    // 功能：获取相应indexcard的商品
    getGood(indexcard) {
        return request.get("/indexgood/getgood", {
            params: { indexcard }
        })
    },

    grtGoog02(page, pagesize) {
        return request.get("good/goodlist", {
            params: { page, pagesize }
        })
    },
    getTypelist(page, pagesize, type) {
        return request.get("good/goodtypelist", {
            params: { page, pagesize, type }
        })
    },
    getgoodlist(id) {
        return request.get("indexgood/getgoodid", {
            params: { id }
        })
    }

}